<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>小程序后台管理</title>

    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .h{
            width: 100%;
            height: 62px;  
        }
        #t{
            display: flex;
        }
        .l{
            width: 200px;
        }
        
        .r{
            flex: 1;
        }
        body{
            overflow: hidden;
        }
    </style>

</head>
<body>
    <div class="wrap">
        <div class="h">
            <iframe src="/header" frameborder="0" width="100%" height="100%"  ></iframe>
        </div>
        <div id="t">
            <div class="l">
                <iframe src="/menu" frameborder="0" width="100%" height="100%" scrolling="auto"  ></iframe>
            </div>
            <div class="r iframebox">
                <iframe src="/content" frameborder="0" width="100%" height="100%"  scrolling="auto" name="right_content"></iframe>
            </div>
        </div>
    </div>
    
<script>
    function resizeIframe() {
        var viewH = document.documentElement.clientHeight;
        var t = document.getElementById('t');
        t.style.height = (viewH - 62) + "px";

    }
        
    
    window.onload= function () {
        resizeIframe();
    }
    window.onresize = function () {
        resizeIframe();
    }

</script>
   
</body>
</html>